package com.ysy.logistics.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ysy.logistics.entities.system.UserNotice;
import com.ysy.logistics.entities.system.dto.UserNoticeDto;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

/**
 * @author 姚斯羽
 * @date 2025/4/18 11:33
 * @description:
 */
public interface UserNoticeMapper extends BaseMapper<UserNotice> {

    Page<UserNoticeDto> listByPage(@Param("page") Page<UserNoticeDto> page,@Param("criteria") UserNoticeDto criteria,@Param("begin") LocalDateTime localBeginDateTime,@Param("end") LocalDateTime localEndDateTime);

    int remove(@Param("criteria") UserNoticeDto criteria,@Param("begin") LocalDateTime localBeginDateTime,@Param("end") LocalDateTime localEndDateTime);
}
